package com.lmx.repoDomain.repository;

import org.springframework.stereotype.Component;

import com.lmx.repoDomain.tmodel.Bed;//hubiati
import com.lmx.repoDomain.tmodel.Room;

import io.katharsis.queryParams.QueryParams;
import io.katharsis.repository.annotations.JsonApiAddRelations;
import io.katharsis.repository.annotations.JsonApiRelationshipRepository;
import io.katharsis.repository.annotations.JsonApiRemoveRelations;
import io.katharsis.repository.annotations.JsonApiSetRelation;

@JsonApiRelationshipRepository(source = Room.class, target = Bed.class)
@Component
public class RoomToBedsRepository extends BaseRelationRepository<Room, Bed> {

    @Override
    @JsonApiSetRelation
    public void setRelation(final Room room, final Long taskId, final String fieldName) {

    }

    @Override
    @JsonApiAddRelations
    public void addRelations(final Room source, final Iterable<Long> targetIds, final String fieldName) {
    }

    @Override
    @JsonApiRemoveRelations
    public void removeRelations(final Room source, final Iterable<Long> targetIds, final String fieldName) {
    }


    @Override
    public void setRelations(final Room source, final Iterable<Long> targetIds, final String fieldName) {
        // TODO Auto-generated method stub

    }

    @Override
    public Bed findOneTarget(final Long sourceId, final String fieldName, final QueryParams queryParams) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public Iterable<Bed> findManyTargets(final Long sourceId, final String fieldName, final QueryParams queryParams) {
        return null;
    }
}
